
#import "point3.h"
#import "ooglutil.h"
#import "api.h"
#import "ErrorObject.h"

@implementation ErrorObject

void uiError(const char *str1, const char *str2, const char *str3) {
  char *buf;
  buf = OOGLNewNE(char, strlen(str1) + strlen(str2) + strlen(str3) + 3,
		  "ErrorObject.m");
  strcpy(buf, str1);
  strcat(buf, " ");
  strcat(buf, str2);
  strcat(buf, " ");
  strcat(buf, str3);
  NXRunAlertPanel("Error!", buf, "Ok", NULL, NULL, NULL);
  OOGLFree(buf);
}

@end
